
<!-- ?imageView/1/w/150/h/150 -->
<!-- 商品块状展示 -->
<xmp type="template" name="main-goods-test">
    <commodity style="display:none;" goods-id="{{_id}}"></commodity>
    <div class="commodity" goods-id="{{_id}}">
        <div class="commodityImg">
            <div class="eachChild">
                <a href="/goods-details.html?id={{_id}}">
                    <img bind-src="{{preview_img_url||'/images/error.jpg'}}?imageView2/1/w/200/h/200" class="commodity-img" title="{{goods_name}}"  />
                </a>
                <!-- {{$Js._canWebp&&'/format/webp'}} -->
            </div>
             <div class="hidden">
                <div class="intro">
                    <p>{{intro}}</p>
                </div>
                <div class="tobuy">
                    {{#if num}}
                    <button class="buy" event-click="{{'$Top.$Event.goods_list.add_to_cart'}}">直接购买</button>
                   <!--  {{'       库存:' + num}} -->
                    {{#else}}
                    <button class="buy" disabled style="background-color:red;cursor:default;">此商品缺货</button>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="dec">
            <div class="item">{{goods_name}}</div>
            <div class="item"><div class="price" style="color:red">{{#if $Private.finally_cash!=price}}<del>￥{{#Fixed price}}</del>{{/if}}￥{{#Fixed $Private.finally_cash}}/{{unit}}</div>
            <div class="count"><!-- 销量:{{sale_num}} --> {{'       库存:' + num}}</div></div>
        </div>
    </div>
</xmp>

<!-- 顶部下拉导航 -->
<xmp type="template" name="top_drop_down_navigation">
    <dropdownnav>
        <div bind-class="{{class}}">
            <Wrap>
                {{#each screenings}}
                <screening>
                    <p>{{screeningtitle}}</p>
                    <hr size="1" />{{#each categorys}}
                    <p>
                        <input type="checkbox" name="{{name}}" value={ "{{value}}}" />
                        <label>{{title}}</label>
                    </p>
                    {{/each}}
                </screening>
                {{/each}}
            </Wrap>
            <Wrap>
                {{#each buttons}}
                <button bind-class="{{class}}" name="{{name}}">{{button}}</button>
                {{/each}}
                </Warp>
        </div>
    </dropdownnav>
</xmp>

<!-- 顶部导航栏 -->
<xmp type="template" name="topnav">
    <topNav>
        <topNavInfo>
            <userBlock>
                <p><a>{{user}}</p>
                </user>
                <p><a>{{register}}</a>
                </p>
            </userBlock>
            <cartBlock>
                {{#each i}}
                <p>
                    <i bind-class="{{class}}" bind-title="{{title}}"></i>
                    <a bind-href="{{href}}">{{a_title}}</a>
                </p>
                {{/each}}

            </cartBlock>
        </topNavInfo>
    </topNav>
</xmp>

<!-- 商品简述图片轮播 -->
<xmp type="template" name="commodity">
    <commodity>
        <commodityImg>
            <eachChild>
                {{#each imgs}}
                <img bind-src="{{src}}" />{{/each}}
            </eachChild>
        </commodityImg>
        <commoditySketch>
            <detail>
                <price>{{price}}</price>
                <outline>{{outline}}</outline>
            </detail>
            <store>{{store}}</store>
        </commoditySketch>
    </commodity>
</xmp>



<!-- 首页推荐商品 -->
<xmp type="template" name="main-goods">
    <div class="commodity">
        <div class="commodityImg">
            <div class="eachChild">
                <a bind-href="{{href}}">
                    <img bind-src="{{src}}" bind-style="width:{{width}};height:{{height}};left:{{left}};top:{{top}}" bind-title="{{title}}" />
                    <div class="main-goods-dec">
                        <p>
                            {{text}}
                        </p>
                    </div>
                </a>
            </div>
        </div>
    </div>
</xmp>
<script type="text/vm" name="main-goods">

</script>
<!-- 手机验证码 -->
<xmp type="template" name="yzcode">
    <input bind-maxlength="{{maxlength}}" bind-type="{{type}}" bind-name="{{name}}" bind-id="{{id}}" bind-placeholder="{{placeholder}}" style="width:137px;" />
    <input type="button" value="获取手机验证码" id="yzcode" class="yz" />
</xmp>
<!-- 这个输入框，默认值用来提示，点击自动清空 -->
<xmp type="template" name="auto-clear-input">
    <input bind-maxlength="{{maxlength}}" bind-type="{{type}}" bind-name="{{name}}" bind-id="{{id}}" bind-placeholder="{{placeholder}}" />
</xmp>

<!-- 显示最新5条评论消息 -->
<xmp type="template" name="recommend-goods">
    <div>
        <a bind-href="{{href}}">
            <img bind-src="{{src}}">
        </a>
        <p>
            <i>{{user}}:</i>
            {{text}}
        </p>
    </div>
</xmp>

<xmp type="template" name="goods">
    <div class="goods" bind-name="{{name}}" bind-style="background-color:{{bgcolor}}">
        <a bind-href="{{base_url}}/goods-details.html?id={{_id}}" target="_blank">
            <img bind-src="{{preview_img_url}}?imageView/1/w/165/h/165">
        </a>
        <div class="details">
            <span class="goods_name"><a bind-href="{{href}}">{{goods_name}}</a>
            </span>
            <br />
            <span class="price">{{price}}</span>
            <br />
            <span class="describe">{{describe}}</span>
        </div>
    </div>
</xmp>

<!-- 购物车 -->
<xmp type="template" name="carts">
    <div class="cart">
        <div class="cart-item goods-img">
            <img bind-src="{{src}}">
        </div>

        <div class="cart-item detail">
            <a bind-href="{{href}}">{{detail}}</a>
        </div>

        <div class="cart-item choice">
            <div class="choice1"><b>颜色:{{choice1}}</b>
            </div>
            <div class="choice2"><b>尺码:{{choice2}}</b>
            </div>
            <div class="count">
                <a class="cut">-</a>
                <input maxlength="3" type="text" name="count" class="amount" bind-value="{{value}}" />
                <a class="plus">+</a>
            </div>
        </div>

        <div class="cart-item price">
            <b>￥<span class="price_num">{{price}}</span></b>
        </div>

        <div class="cart-item method">
            <div class="collection"><a>收藏</a>
            </div>
            <div class="remove"><a>移除</a>
            </div>
        </div>
    </div>
</xmp>

<xmp type="template" name="goods-main-img.bak">
    <div id="goods-main-img">
        <div id="imgWall">
            <div id="imgBox">
                {{#each bigImg}}
                <img class="big-img" bind-src="{{src}}" />{{/each}}
            </div>
        </div>

        <div id="small-img-box">
            {{#each smallImg}}
            <img class="small-img" name="small-img" bind-id="{{data}}" bind-src="{{src}}" onClick="change_img(this)" />{{/each}}
        </div>
    </div>
</xmp>
<xmp type="template" name="goods-main-img">
    <div id="goods-main-img">
        {{#if detail_img_urls.length}}
        <div id="imgWall">
            <div id="imgBox" class="role-img-box">
                {{#each detail_img_urls}}
                <img class="big-img" bind-src="{{$This}}"
                    event-mouseenter="{{'$Caller.$Private.$Event.open_magnifier'}}"
                    event-mouseleave="{{'$Caller.$Private.$Event.close_magnifier'}}"
                    event-mousemove="{{'$Caller.$Private.$Event.move_magnifier'}}"
                />{{/each}}
            </div>
            <div class="img-magnifier-mask-wrap">
                <div class="img-magnifier-mask"> </div>
            </div>
        </div>
        <div id="small-img-box">
            {{#each detail_img_urls}}
            <img _index="{{$Index}}" class="small-img" name="small-img" bind-src="{{$This}}" onClick="change_img(this)" />{{/each}}
        </div>
        {{#else}}
        <div id="imgWall">
            <div id="imgBox">
                <img class="big-img" bind-src="{{preview_img_url}}" />
            </div>
        </div>
        {{/if}}
        <div class="img-magnifier-wrap">
            <div class="img-magnifier" style="display:{{$Pirvate.$Cache.show_magnifier?'block':'none'}}">
                <img class="magnifier-img" bind-src="{{$Pirvate.$Cache.magnifier_src}}" alt="">
            </div>
        </div>
    </div>
<style>
#imgWall{
    cursor:crosshair;
    /*cursor:move;*/
}
    .img-magnifier-wrap,.img-magnifier-mask-wrap{
        position:absolute;
    }
    .img-magnifier{
        position: relative;
        left: 453px;
        top: -442px;
        height: 442px;
        width: 574px;
        z-index: 10;
        border: 1px solid #000;
        box-sizing: border-box;
        overflow:hidden;
        display:none;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .img-magnifier .magnifier-img{
        position:relative;
        top:0;
        left:0;
    }
    .img-magnifier-mask-wrap{
        top:0;
        left:0;
        display:none;
    }
    .img-magnifier-mask{
        position: relative;
        background-color: rgba(0, 0, 0, 0.2);
        z-index:10;
    }
</style>
</xmp>

<xmp type="template" name="m-goods-main-img">
    <div id="goods-main-img">

        {{#if detail_img_urls.length}}
        <div id="imgWall">
            <div id="imgBox" class="role-img-box">
                {{#each detail_img_urls}}
                <img class="big-img" bind-src="{{$This}}" />{{/each}}
            </div>
        </div>
        <div id="small-img-box">
            {{#each detail_img_urls}}
            <img _index="{{$Index}}" class="small-img" name="small-img" bind-src="{{$This}}" onClick="change_img(this)" />{{/each}}
        </div>
        {{#else}}
        <div id="imgWall">
            <div id="imgBox">
                <img class="big-img" bind-src="{{preview_img_url}}" />
            </div>
        </div>
        {{/if}}
    </div>
</xmp>


<xmp type="template" name="goods-count">
    <div class="count">
        <input class="button" type="button" value="-" name="cut" />
        <input class="text" type="text" value="1" name="num" />
        <input class="button" type="button" value="+" name="add" />
    </div>
</xmp>

<xmp type="template" name="qrcode">
    <div name="codebox"></div>
    <input type="hidden" bind-value="{{value}}" />
</xmp>

<!-- 订单 -->
<xmp type="template" name="orders">
    <div class="order-box">
        <div class="goods-img">
            <img bind-src="{{src}}">
        </div>

        <div class="goods-info">
            <div class="goods-info-item first">订单号：{{orderId}}</div>
            <div class="goods-info-item second">{{goodsname}}</div>
            <div class="goods-info-item third">{{store}}</div>
            <div class="last goods-info-item">{{date}}</div>
        </div>

        <div class="price">
            <div class="price-item first">{{price}}</div>
            <div class="price-item">{{type}}</div>
        </div>

        <div class="method">
            <div bind-name="{{name}}" class="method-item first">{{title}}</div>
            {{#each methodItem}}
            <div bind-name="{{name}}" class="method-item">{{title}}</div>
            {{/each}}
        </div>
    </div>
</xmp>

<!-- 收藏 -->
<xmp type="template" name="collection">
    <div class="collection">
        <div class="img">
            <img bind-src="{{src}}" />
        </div>
        <div class="details">
            <div class="price">{{price}}</div>
            <div class="name">{{name}}</div>
            <div class="store">{{store}}</div>
        </div>
    </div>
</xmp>

<xmp type="template" name="user_ach_controller">
    <!-- 控制 -->
    <div class="method">
        {{#> "user_ach_controller.ACH_STATE."+info.state}}
    </div>
</xmp>
<!-- 未确认 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.-1" data-name="未确认">
    <div>
        <button event-click="{{'$Private.$Event.pays.lock_ach'}}">提交订单</button>
        <button event-click="{{'$Private.$Event.pays.cancel_ach'}}">取消订单</button>
    </div>
</xmp>
<!-- 在线付款 -->
<!-- 未付款 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.11" data-name="ol未付款">
    <!-- 遮罩 -->
    <div event-click="{{'$Private.$Event.pays.cancel'}}" class="cover {{$Private._is_pop&&'focus'}}">

    </div>
    <div role="alipayform" class="alipayform {{$Private._is_pop&&'focus'}}">
        <div class="formtitle">
            等待支付
        </div>
        <div class="forminfo">
            <div class="formitem">
                商品总计：
                <span style="color:red">￥{{#Fixed $Top.user.pay_ach.finally_cash||finally_cash}}</span>
            </div>
            <div class="formitem">
                <!-- {{HTML $Private.$Cache.alipay_submit_pay_ach}} -->
                {{#if $Private.$Cache.alipay_submit_pay_ach}}
                <a href="{{$Private.$Cache.alipay_submit_pay_ach}}"><button>确定</button></a>
                {{/if}}
                {{#if $Private.$Cache.wx_js_pay}}
                <button event-click="{{'$Private.$Event.pays.open_weixin_js_pay'}}">确定</button>
                {{/if}}
                <button event-click="{{'$Private.$Event.pays.cancel'}}" class="cancel">取消</button>
            </div>
        </div>
    </div>
    <div class="user_ach_controller-gopay">订单已提交 {{#if info.pay_method===$Top.config.PAY_METHOD.担保交易}}
        <button event-click="{{'$Private.$Event.pays.alipay_build'}}" class="method-item" name="gopay">去使用支付宝付款</button>
        {{/if}} 
        <!-- {{#if info.pay_method===$Top.config.PAY_METHOD.财付通担保交易}}
        <button event-click="{{'$Private.$Event.pays.tenpay_build'}}" class="method-item" name="gopay">去使用财付通付款</button>
        {{/if}} --> 
        {{#if info.pay_method===$Top.config.PAY_METHOD.支付宝网页支付}}
        <button event-click="{{'$Private.$Event.pays.alipay_web_build'}}" class="method-item" name="gopay">去使用支付宝付款</button>
        {{/if}}
        {{#if info.pay_method===$Top.config.PAY_METHOD.微信支付}}
        <button event-click="{{'$Private.$Event.pays.weixin_pay'}}" class="method-item" name="gopay">
            {{#> "user_ach_controller.jqrcode","$Private.$Cache.wx_native_pay.codeUrl",$Private.$Cache.wx_native_pay.codeUrl}}
            {{$Private.$Cache.wx_native_pay?'':($Private.$Cache.wx_native_pay_loading?'二维码加载中……':'去使用微信支付')}}
        </button>
        {{/if}}
        <button event-click="{{'$Private.$Event.pays.cancel_ach'}}">取消订单</button>
    </div>
</xmp>
<!-- 未发货 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.12" data-name="ol未发货">
    <div>付款完成，等待货物发出
        <!-- <button class="method-item">去催货</button> -->
    </div>
</xmp>
<!-- 未收货 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.13" data-name="ol未收货">
    <div>
        {{#> "ach_controller.express"}}
        <button event-click="{{'$Private.$Event.pays.confirm_goods'}}">确认收货</button>
    </div>
</xmp>
<!-- 交易完成 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.14" data-name="ol交易完成">
    <div>
        <div>交易完成</div>
        <!-- 点击对应的<b>商品链接</b><i>去评价</i>或者<i>查看评价</i> -->
        <button evnet-click="{{'$Private.$Event.jumpToAppraise'}}">去评价</button>
    </div>
</xmp>
<!-- 评价完成 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.15" data-name="ol已评价">
    <div>
        <div>评价完成</div>
        <!-- 点击对应的<b>商品链接</b><i>去评价</i>或者<i>查看评价</i> -->
        <a evnet-click="{{'$Private.$Event.jumpToAppraise'}}">查看评价</a>
    </div>
</xmp>
<!-- 货到付款 -->
<!-- 未发货 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.20" data-name="未发货">
    <div>订单已提交</div>
    <div>点此<a style="color:blue" href="main-beta.html">继续购买</a>
        <!-- <button class="method-item">去催货</button> -->
        <button event-click="{{'$Private.$Event.pays.cancel_ach'}}">取消订单</button>
    </div>
</xmp>
<!-- 运货中 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.21" data-name="已发货">
    <div>
        <div>货物已经发出</div>
        <!-- <button class="method-item">查看货物位置</button> -->
        {{#> "ach_controller.express"}}
        <button event-click="{{'$Private.$Event.pays.confirm_goods'}}">确认收货</button>
    </div>
</xmp>
<!-- 未收货未付款 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.22" data-name="未收货未付款">
    <div>
        等待商家确认收款
    </div>
</xmp>
<!-- 交易完成 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.23" data-name="交易完成">
    <div>
        <div>交易完成</div>
        <!-- 点击对应的<b>商品链接</b><i>去评价</i>或者<i>查看评价</i> -->
        <button event-click="{{'$Private.$Event.jumpToAppraise'}}">去评价</button>
    </div>
</xmp>
<!-- 评价完成 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.31" data-name="已评价">
    <div>
        <div>评价完成</div>
        <!-- 点击对应的<b>商品链接</b><i>去评价</i>或者<i>查看评价</i> -->
        <a style="color:#1bf;cursor:pointer" event-click="{{'$Private.$Event.jumpToAppraise'}}">查看评价</a>
    </div>
</xmp>
<!-- 当面付款 -->
<!-- 未付款 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.30" data-name="face未付款">
    <div>订单已提交，请当面付款，并等待商家确认付款</div>
    <div>点此<a style="color:blue" href="main-beta.html">继续购买</a>
        <!-- <button class="method-item">去催货</button> -->
        <button event-click="{{'$Private.$Event.pays.cancel_ach'}}">取消订单</button>
    </div>
</xmp>
<!-- 交易完成 -->
<xmp type="template" name="user_ach_controller.ACH_STATE.31" data-name="face交易完成">
    <div>
        <div>商家已经确认您的付款，交易完成</div>
        <button event-click="{{'$Private.$Event.jumpToAppraise'}}">去评价</button>
    </div>
</xmp>
<xmp type="template" name="user_ach_controller.jqrcode">
微信扫描二维码<jqrcode text="{{$This}}" size="120" radius="0" min-version="2"></jqrcode>
</xmp>
<xmp type="template" name="bus_ach_controller">
    <div class="method">
        {{#> "bus_ach_controller.ACH_STATE."+info.state}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.11" data-name="ol未付款">
    <div class="line">用户还未付款，等待付款 </div>

    {{#> "bus_ach_controller.custom_cash"}}
        <!-- <button event-click="{{'$Private.$Event.pays.pay_under_line'}}">私底下完成付款</button> -->
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.12" data-name="ol未发货">
    <div>用户付款完成，等待货物发出： {{#> "bus_ach_controller.bus_exporess"}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.13" data-name="ol未收货">
    <div>等待货物送达
        <!-- <button>确认收款</button> -->
        {{#> "ach_controller.express"}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.14" data-name="ol交易完成">
    <div>交易完成
        <!-- <button>查看评价</button> -->
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.20" data-name="未发货">
    <div>用户货到付款，等待货物发出 {{#> "bus_ach_controller.custom_cash"}} {{#> "bus_ach_controller.bus_exporess"}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.21" data-name="已发货">
    <div>货物运输中
        <br>{{#> "ach_controller.express"}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.22" data-name="未收货未付款">
    <div>货物已送达
        <button event-click="{{'$Private.$Event.pays.未收货未付款_to_交易完成'}}" class="method-item">确认收款</button>
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.23" data-name="交易完成">
    <div>交易完成
        <!-- <button>查看评价</button> -->
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.30" data-name="face未付款">
    <div>
        用户还未付款，等待付款 {{#> "bus_ach_controller.custom_cash"}}
        <button event-click="{{'$Private.$Event.pays.face未付款_to_face交易完成'}}" class="method-item">确认收款</button>
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.ACH_STATE.31" data-name="face交易完成">
    <div>交易完成
        <!-- <button>查看评价</button> -->
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.custom_cash">
    <div class="custom-cash line">
        {{#if $Private.$Cache.pays.is_updating_cash}}
        <input type="text" input-bind="{{'$Private.Cache.pays.cus_cash'}}" value="{{$Private.Cache.pays.cus_cash||cus_cash}}">
        <button event-click="{{'$Private.$Event.pays.upload_update_cash'}}">完成</button>
        <button event-click="{{'$Private.$Event.pays.cancel_update_cash'}}">取消</button>
        {{#else}}
        <span>应付金额：{{#Fixed finally_cash}}</span>
        <button event-click="{{'$Private.$Event.pays.update_cash'}}">修改价格</button>
        {{/if}}
    </div>
</xmp>
<xmp type="template" name="bus_ach_controller.bus_exporess">
    <div class="bus-express">
        <div for="">物流公司：
            <!-- <input type="text" value="{{info.express_info.company}}" bind-input="{{'info.express_info.company'}}"> -->
            <android:selectSearch datalist-key="$Top.$Cache.all_express" use-value-as-result="true" value="{{info.express_info.company}}" search-placeholder="查询物流公司" bind-input="{{'info.express_info.company'}}">
                <!-- {{#each $Caller.$Private.$Cache.express}}
                <optionItem value="{{key}}">{{name}}</optionItem>
                {{/each}} -->
                {{#each $Top.$Cache.express}}
                <optionItem value="{{name}}" search-data="{{name+key}}">{{name}}</optionItem>
                {{/each}}
            </android:selectSearch>
        </div>
        <div for="">快递单号：
            <input type="text" placeholder="在此输入单号" value="{{info.express_info.num}}" bind-input="{{'info.express_info.num'}}">
        </div>
        <button event-click="{{#if info.express_info.num&&info.express_info.company}}{{'$Private.$Event.pays.send_goods'}}{{#else}}{{'$Private.$Event.pays.check_express'}}{{/if}}">确认发货</button>
    </div>
</xmp>
<xmp type="template" name="ach_controller.express">
    <button event-click="{{'$Private.$Event.pays.view_express'}}">查看物流</button>
    {{#if $Private.$Cache.express_data}}
    <div class="express {{isexpress&&'focus'}}" event-click="{{'$Private.$Event.close.express'}}" title="点击关闭">
        <table>
            <thead>
                <th>物流公司：{{info.express_info.company}}</th>
                <th>单号：{{info.express_info.num}}</th>
            </thead>
            <tbody>
                {{#if $Private.$Cache.express_data.data.length}} {{#each $Private.$Cache.express_data.data}}
                <tr>
                    <td class="time">{{ftime}}</td>
                    <td class="text">{{context}}</td>
                </tr>
                {{/each}} {{#else}}
                <tr>
                    <td>暂无物流信息</td>
                </tr>
                {{/if}}
            </tbody>
            <tr>
                <td colspan="2">
                    <br />查询结果由
                    <a href="http://m.kuaidi100.com" target="_blank" style="color:lightBlue">快递100</a>提供
                </td>
            </tr>
        </table>
        <div class="final">
            <!--  {{$Private.$Cache.express_data.ischeck=="1"?"已签收":"未签收"}} -->
        </div>
        <div class="frominfo"></div>
        {{/if}}
    </div>
</xmp>
<xmp type="template" name="comments">
{{#each $This}}
    <div class="comment">
        <div class="content">
            <b>评论内容：</b>{{content}}
        </div>
        <div class="commenter">
            <b>评论者：</b>{{commenter_info.name}}
        </div>
       <!--  <div class="reply">
            <input type="text" class="android" bind-input="{{'_reply_content'}}" value="{{_reply_content}}">
            <button event-click="{{'$Top.$Event.comment.reply'}}">回复</button>
        </div> -->
       <!--  {{#if comments.length}}
        <div class="comments">
            {{#> "comments","comments",comments.length}}
        </div>
        {{/if}} -->
    </div>
{{/each}}
</xmp>

<xmp type="template" name="save-view-pwd">
    <save-view-pwd event-hover="{{'$Private.$Event.show_value'}}" value="{{$This}}">{{$Private.$Cache.show_value}}</save-view-pwd>
</xmp>

<xmp type="template" name="优惠配置面板-1" title="打折">
    <div>折扣配置：（100元减免{{#Fixed 100*$Cache.bus.card_factory.new.info.config.discount}}元）
    <inputnumber bind-input="{{'config.discount'}}" value="{{config.discount}}" loop="0.01" min="0" max="1" fixed="4"></inputnumber>
    </div>
</xmp>
<xmp type="template" name="优惠配置面板-2" title="满减">
    <div>满减配置：
    <android:input bind-input="{{'config.full_cash'}}" value="{{config.full_cash}}" label="满" description="订单满多少金额"></android:input>
    <android:input bind-input="{{'config.cut_cash'}}" value="{{config.cut_cash}}" label="减" description="减免多少金额"></android:input>
    </div>
</xmp>
<xmp type="template" name="优惠配置面板-3" title="现金抵用">
    <android:input bind-input="{{'config.directly_cut_cash'}}" value="{{config.directly_cut_cash}}" label="直接抵扣金额"></android:input>
</xmp>